import { Routes } from '@angular/router';

import { LoginComponent } from './login/login.component';
import { BlockNavComponent } from './block-nav/block-nav.component';
export const appRoutes: Routes = [
  {
    path: '',
    redirectTo: 'market',
    pathMatch: 'full'
  },
  {
    path: 'login',
    component: LoginComponent
  },
  {
    path: 'market',
    loadChildren: './market-data/market-data.module#MarketDataModule'
  },
  // {
  //   path: 'platform',
  //   loadChildren: './trade-platform/trade-platform.module#tradePlatformModule'
  // },
  // {
  //   path: 'ranklist',
  //   loadChildren: './rank-list/rank-list.module#rankListModule'
  // },
  // {
  //   path: 'concept',
  //   loadChildren: './concept-data/concept-data.module#conceptDataModule'
  // },
  {
    path: 'blocknav',
    component: BlockNavComponent
  },
  {
    path: '**',
    loadChildren: './market-data/market-data.module#MarketDataModule'
  }
];
